Updating the db-data-config File
This topic assumes you have already completed the following steps in regards to the installation of Solr on your KommerceServer web server.
- Install Java on your web server (skip this step if Java is already installed).
- Install version 5.4.1 of Apache Solr.
- Create a core directory on the Apache Solr UI.
-
Copy core configuration files to your Solr directory.
Once you have completed the above steps, perform the following steps to update the db-data-config file.
- Navigate to the directory you created in the Creating a Core Directory for Solr topic.
- Open the conf folder.
- Open the db-data-config XML file.
- Open your KommerceServer web.config file and navigate to the connectionStrings section.
-
Identify the connection string element with the name “SqlConnection”
-
Identify the following properties from the connection string:
- Data Source
- Initial Catalog
- User ID
- Password
-
In the dataSource element of db-data-config, modify the url attribute with the values from Web.config:
Solr dataSource url attribute field
|
Web.config connection string field
|
server address
|
Data Source
|
databaseName
|
Initial Catalog
|
user
|
User ID
|
password
|
Password
|
- Save and close the db-data-config file.
Next Step
Start Solr from the Solr/bin directory
|